package com.daiqee.pojo;

import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.FieldStrategy;
import com.baomidou.mybatisplus.enums.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 生产情况统计
 * 
 * <br/>
 * @since JDK 1.8
 * @version  V2.4
 * @author RichardTang 
 * @date: 2018年6月7日
 * @package com.daiqee.pojo
 * @copyright:Copyright (c) 2018, 1245811923@qq.com All Rights Reserved.
 */

@TableName("production_statistics")
public class ProductionStatistics {
	
	@TableId(type = IdType.AUTO)
    private Integer id;

	@JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date datetime;		//日期

    @TableField(strategy = FieldStrategy.NOT_EMPTY)
    private String group;		//拉线组

    @TableField(strategy = FieldStrategy.NOT_EMPTY)
    private String name;		//货物名称

    private String model;		//类型

    private String nature;		//性质

    @TableField(strategy = FieldStrategy.NOT_EMPTY)
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date productionDate;//生产日期

    private Integer atNumber;	//在制品数

    private Integer onNumber;	//完工数

    private Integer badNumber;	//坏品数

    private Integer productionPeople;//生产人员

    private Integer badRate;	//坏品率

    private Integer mainboardNumber;//主板数

    private Integer ampMb;		//功放板

    private Integer electricMotor; //电机

    private Integer led;		//灯珠

    private Integer powerSupply;//电源

    private Integer fan;		//风扇

    private Integer powerCord;	//电源线

    private Integer other;		//其他

    private String remark;		//备注

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getDatetime() {
        return datetime;
    }

    public void setDatetime(Date datetime) {
        this.datetime = datetime;
    }

    public String getGroup() {
        return group;
    }

    public void setGroup(String group) {
        this.group = group == null ? null : group.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model == null ? null : model.trim();
    }

    public String getNature() {
        return nature;
    }

    public void setNature(String nature) {
        this.nature = nature == null ? null : nature.trim();
    }

    public Date getProductionDate() {
        return productionDate;
    }

    public void setProductionDate(Date productionDate) {
        this.productionDate = productionDate;
    }

    public Integer getAtNumber() {
        return atNumber;
    }

    public void setAtNumber(Integer atNumber) {
        this.atNumber = atNumber;
    }

    public Integer getOnNumber() {
        return onNumber;
    }

    public void setOnNumber(Integer onNumber) {
        this.onNumber = onNumber;
    }

    public Integer getBadNumber() {
        return badNumber;
    }

    public void setBadNumber(Integer badNumber) {
        this.badNumber = badNumber;
    }

    public Integer getProductionPeople() {
        return productionPeople;
    }

    public void setProductionPeople(Integer productionPeople) {
        this.productionPeople = productionPeople;
    }

    public Integer getBadRate() {
        return badRate;
    }

    public void setBadRate(Integer badRate) {
        this.badRate = badRate;
    }

    public Integer getMainboardNumber() {
        return mainboardNumber;
    }

    public void setMainboardNumber(Integer mainboardNumber) {
        this.mainboardNumber = mainboardNumber;
    }

    public Integer getAmpMb() {
        return ampMb;
    }

    public void setAmpMb(Integer ampMb) {
        this.ampMb = ampMb;
    }

    public Integer getElectricMotor() {
        return electricMotor;
    }

    public void setElectricMotor(Integer electricMotor) {
        this.electricMotor = electricMotor;
    }

    public Integer getLed() {
        return led;
    }

    public void setLed(Integer led) {
        this.led = led;
    }

    public Integer getPowerSupply() {
        return powerSupply;
    }

    public void setPowerSupply(Integer powerSupply) {
        this.powerSupply = powerSupply;
    }

    public Integer getFan() {
        return fan;
    }

    public void setFan(Integer fan) {
        this.fan = fan;
    }

    public Integer getPowerCord() {
        return powerCord;
    }

    public void setPowerCord(Integer powerCord) {
        this.powerCord = powerCord;
    }

    public Integer getOther() {
        return other;
    }

    public void setOther(Integer other) {
        this.other = other;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }
}